package com.qf.service;

import com.qf.entity.Student;
import com.qf.entity.StudentVO;

import java.util.HashMap;
import java.util.List;

public interface StudentService {
    Student findById(int id);

    List<Student> selectAll();

    List<Student> findByKeyword(HashMap<String, Object> map);

    int addStudent(Student student);

    int deleteStudent(HashMap<String, Object> map);

    int updateStudent(HashMap<String, Object> map);

    int batchDeleteStudent(List<Integer> ids);

    List<StudentVO> findAllStudentAndClassroom();

    StudentVO findStudentAndAllSubjectByStuid(int id);

    StudentVO findStudentAndAllSubjectAndTeacherByStuid(int id);

    List<StudentVO> findAllStudentAndClassroomV2();

    StudentVO findStudentAndAllSubjectByStuidV2(int id);

    Student findStudentByUsername(HashMap<String, Object> map);
}
